import { MenuController } from '@/controller/MenuController';

export const Menu = [
  {
    method: 'get',
    route: '/menu',
    controller: MenuController,
    action: 'get',
  },
  {
    method: 'get',
    route: '/menu/:id',
    controller: MenuController,
    action: 'getMenuDetail',
  },
  {
    method: 'post',
    route: '/menu',
    controller: MenuController,
    action: 'add',
  },
  {
    method: 'put',
    route: '/menu/:id',
    controller: MenuController,
    action: 'put',
  },
  {
    method: 'delete',
    route: '/menu/:id',
    controller: MenuController,
    action: 'delete',
  },
];
